/**
 * render column overwrite querylist4ext.js
 * 
 * @param {}
 *            value
 * @param {}
 *            cellmeta
 * @param {}
 *            record
 * @param {}
 *            rowIndex
 * @param {}
 *            columnIndex
 * @param {}
 *            store
 * @return {}
 */
function renderHeader(value, cellmeta, record, rowIndex, columnIndex, store) {
	var fieldName = Ext.getCmp(querykey).getColumnModel()
			.getDataIndex(columnIndex);
	if (fieldName == 'XFTIME' || fieldName == 'XJTIME' || fieldName == 'H_DATE') {
		return formatDate(value);
	} else if (fieldName == 'SJGZ') {
		var resultString = String.format(
				'<b><a href="javascript:showLogWin(\'{0}\')">办理事件</a></b>',
				record.data.ID, value);
		resultString += String
				.format(
						'&nbsp;<b><a href="'
								+ context
								+ '/system/objectcreator.do?method=view&key=APP_LFDJ&id={0}">查看</a></b>',
						record.data.ID, value);

		return resultString;
	}
	return value;
}